{include file="header/index" /}
<div class="container bgwhite">
	<!--<h2 class="container-title ">工程人员详情-<a class="container-title-nav engineer_current" href="#">基本信息</a>-->
		<!--<a href="#" class="container-title-nav">工单信息</a>-->
	</h2>

	<div class="pb30 engineer_nr">
		<div class="engineerInfor clearfix">
			<div class="topnav clearfix">
				<div class="title fl">
					<p class="bluecolor">工程人员详情</p>
				</div>
				<div class="backbtnwrap fr">
					<button type="button" class="btn backbtn" onclick="backurl(this)">返回</button>
				</div>
			</div>

			<div class="engineerInfor-center col-xs-12">
				<div class="row">
					<p class="bgf6 col-xs-2 font-left">姓名</p>
					<p class="col-xs-4 font-right">{$data.engineers_name}</p>
					<p class="bgf6 col-xs-2 font-left">联系电话</p>
					<p class="col-xs-4 font-right">{$data.engineers_phone}</p>
				</div>
				<div class="row">
					<p class="bgf6 col-xs-2 font-left">员工编号</p>
					<p class="col-xs-4 font-right">{$data.engineers_number}</p>
					<p class="bgf6 col-xs-2 font-left">账号状态</p>
					{if condition='($data.engineers_status==2)'}
					<p class="col-xs-4 font-right">正常</p>
					{else /}
					<p class="col-xs-4 font-right col-red">冻结</p>
					{/if}

				</div>
				<div class="row">
					<p class="bgf6 col-xs-2 font-left">生日</p>
					<p class="col-xs-4 font-right">{$data.birthday}</p>
					<p class="bgf6 col-xs-2 font-left">所属管理区域</p>
					<p class="col-xs-4 font-right">{$data.o_name}--{$data.company_name}</p>
				</div>
				<div class="row">
					<p class="bgf6 col-xs-2 font-left">联系地址</p>
					<p class="col-xs-10 font-right">{$data.engineers_address}</p>
				</div>
				<div class="row">
					<p class="bgf6 col-xs-2 font-left" style="min-height: 40px">备注</p>
					<p class="col-xs-10 font-right beizhu" style="min-height: 40px">{$data.note ? $data.note : ''}</p>
				</div>
			</div>

		</div>

		<div class="engineer-workInfor clearfix mt30">
			<h3 class="engineer-workInfor-title mb20">工单信息</h3>
			<div class="engineer-workInfor-center col-xs-12">
				<div class="row">
					<p class="bgf6 col-xs-2 font-left">完成工单数</p>
					<p class="col-xs-4 font-right"><a class="col-127" href="#">{$workCompleted}单</a></p>
					<p class="bgf6 col-xs-2 font-left">待完成工单</p>
					<p class="col-xs-4 font-right"><a class="col-127" href="#">{$workUnCompleted}单</a></p>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
    $(".container-title>a").click(function(){
        var type = $(this).index()
        $(this).addClass("engineer_current").siblings().removeClass("engineer_current");

    })
    window.onload=function(){
        $(".beizhu").each(function(){
            var h=$(this).height()+20;
            $(this).prev().css("height",h+"px")
        })

    }
    //返回上一页
    function backurl() {
        history.back();
    };
</script>
</body>
</html>
